<template>
  <div>
    <HeaderNav />
    <div class="total">
      <el-tabs
        :tab-position="tabPosition"
        style="height: 200px"
        class="demo-tabs"
      >
        <el-tab-pane>
          <template #label>
            <span class="tabs-label">
              <span>个人资料</span>
            </span>
          </template>
          <div class="content"></div>
        </el-tab-pane>
        <el-tab-pane>
          <template #label>
            <span class="tabs-label">
              <span>账号设置</span>
            </span>
          </template>
          <div class="content"></div>
        </el-tab-pane>
        <el-tab-pane>
          <template #label>
            <span class="tabs-label">
              <span>退出登录</span>
            </span>
          </template>
          <div class="content"></div>
        </el-tab-pane>
      </el-tabs>
    </div>
  </div>
</template>

<script setup lang="ts">
import HeaderNav from "@/components/common/HeaderNav.vue";
import { ref } from "vue";
const tabPosition = ref("left");
</script>

<style lang="scss" scoped>
$item-height: 0.36rem;
$item-width: 0.6rem;
$a-font-size: 0.08rem;
span {
  cursor: pointer;
  font-weight: bold;
  color: grey;
  font-size: 0.1rem;
}
.total {
  height: auto;
  width: 5rem;
  margin-left: 1rem;
  margin-top: $item-height * 2;

}
</style>
